.info-panel {
  position: fixed;
  width: 300px;
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  border-radius: 10px;
  border: 2px solid #2196F3;
  backdrop-filter: blur(10px);
  z-index: 1000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #444;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 10px 10px 0 0;
}

.info-header h3 {
  margin: 0;
  color: #2196F3;
  font-size: 18px;
}

.close-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.info-content {
  padding: 20px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  align-items: center;
}

.info-item .label {
  font-weight: bold;
  color: #ccc;
  flex: 1;
  writing-mode: horizontal-tb !important; /* 强制确保文字水平排列 */
  text-orientation: mixed !important;
  white-space: nowrap !important; /* 防止文字换行 */
}

.info-item .value {
  flex: 2;
  text-align: right;
  color: #fff;
  word-break: break-all;
  writing-mode: horizontal-tb !important; /* 强制确保文字水平排列 */
  text-orientation: mixed !important;
  white-space: nowrap !important; /* 防止文字换行 */
}

.status {
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  display: inline-block !important; /* 强制确保状态标签正确显示 */
  white-space: nowrap !important; /* 防止文字换行 */
}

.status.occupied {
  background: #4CAF50;
  color: white;
}

.status.empty {
  background: #f44336;
  color: white;
}

.divider {
  height: 1px;
  background: #444;
  margin: 15px 0;
}

.info-content h4 {
  margin: 0 0 15px 0;
  color: #2196F3;
  font-size: 16px;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.edit-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 14px;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.save-btn, .cancel-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.save-btn {
  background: #4CAF50;
  color: white;
}

.save-btn:hover {
  background: #45a049;
}

.cancel-btn {
  background: #f44336;
  color: white;
}

.cancel-btn:hover {
  background: #da190b;
}

.status-select {
  width: 100%;
  padding: 8px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #222;
  color: #fff;
  font-size: 14px;
}